﻿using System.ComponentModel.DataAnnotations.Schema;

namespace BookShop.DTO
{
    public class OrderDetail
    {
        public long Id { get; set; }
        public long BookId { get; set; }
        public long OrderId { get; set; }
        public int Quantity { get; set; }
        public double? TotalPrice { get; set; }
        public double? UnitPrice { get; set; }

        [NotMapped]
        public string BookTitle { get; set; }
    }
}
